package com.kwq.designPattern.behavior.chainOfResponsibility;

/**
 * @author kangwanqiang
 * @date 2021/2/12
 * @description 不同等级的日志输出工具：控制台级别的日志输出
 */
public class ConsoleLogger extends AbstractLogger {
    public ConsoleLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Standard Console::Logger: " + message);
    }
}
